<div class="box_right">
	<h1>
		通知
	</h1>
	<div class="pro_box">
			  
			  <div class="order_list">
			  	<div class="layui-row">
			  		<div class="layui-col-xs4">
			  			<h2 class="order_list_h"> &nbsp;</h2>
			  		</div>
			  	</div>
			  	<form action="<?php echo base_url()."gasstation/systems/option_update"?>" method="post">
				<table class="layui-table ct layui-form" lay-skin="line">
				  <colgroup>
				    <col width="450">
				    <col width="200">
				    <col>
				  </colgroup>
				  <tbody>
				    <tr>
				      <td>
						语音自动播报
				      </td>
					  <td ><input type="checkbox" name="is_report" lay-skin="switch" <?php if ($option->is_report=='1'){?>checked<?php }?>></td>
				    </tr>
				    <tr>
				      <td>
						小票自动打印
				      </td>
					  <td><input type="checkbox" name="is_print" lay-skin="switch" <?php if ($option->is_print=='1'){?>checked<?php }?>></td>
				    </tr>
				  </tbody>
				</table>
				<div class="col-md-offset-5">
				<button id="btnSubmit" class="btn btn-info" type="submit">
					<i class="icon-ok bigger-110"></i>
					保存
				</button>
				</div>
				</form>
			  </div> 
	</div>
</div>
<script>
//Demo
layui.use(['form','element','laydate'], function(){
  var form = layui.form,
  	element = layui.element,
  	laydate = layui.laydate;

  //时间选择器
  laydate.render({
    elem: '#test5'
    ,type: 'datetime'
  });
    //时间选择器
  laydate.render({
    elem: '#test6'
    ,type: 'datetime'
  }); 
  
  //监听提交
  form.on('submit(formDemo)', function(data){
    layer.msg(JSON.stringify(data.field));
    return false;
  });
});
</script>